<!DOCTYPE html>
<!--
     Any copyright is dedicated to the Public Domain.
     http://creativecommons.org/publicdomain/zero/1.0/
--><html>
<!-- Mirrored from test.csswg.org/suites/css-flexbox-1_dev/nightly-unstable/html/flexbox-writing-mode-012.htm by HTTrack Website Copier/3.x [XR&CO'2014], Sat, 23 Dec 2023 16:15:11 GMT -->
<head>
  <title>
    CSS Test: Testing a mix of flex items with various values for
    'writing-mode' / 'direction' in a vertical row-oriented flex container
    with 'direction' flipped.
  </title>
  <meta charset="utf-8">
  <link href="mailto:dholbert@mozilla.com" rel="author" title="Daniel Holbert">
  <link href="https://www.w3.org/TR/css-flexbox-1/#flex-direction-property" rel="help">
  <link href="https://www.w3.org/TR/css-writing-modes-3/#propdef-writing-mode" rel="help">
  <link href="http://test.csswg.org/suites/css-flexbox-1_dev/nightly-unstable/html/reference/flexbox-writing-mode-012-ref.htm" rel="match">
  <link href="fonts/ahem.css" type="text/css" rel="stylesheet">
  <style>
  .container {
    display: flex;
    flex-direction: row;
    float: left;
    border: 2px solid purple;
    padding: 2px;
    margin-bottom: 2em;
    height: 500px;
    width: 150px;
  }

  span {
    display: block;
    background: lightgrey;
    border: 2px solid black;
    margin: 11px 13px 17px 7px;
    inline-size: 6px;
  }

  .small { font: 12px Ahem; }
  .big   { font: 20px Ahem; }

  .hl  { writing-mode: horizontal-tb;  direction: ltr; }
  .hr  { writing-mode: horizontal-tb;  direction: rtl; }
  .vl  { writing-mode: vertical-lr;    direction: ltr; }
  .vr  { writing-mode: vertical-rl;    direction: ltr; }
  .vl_rtl { writing-mode: vertical-lr; direction: rtl; }
  .vr_rtl { writing-mode: vertical-rl; direction: rtl; }
  </style>
</head>
<body>

<div class="container vl_rtl">
  <span class="hl small">p b c</span>
  <span class="hl big">p e</span>
  <span class="hr small">p b c</span>
  <span class="hr big">p e</span>
  <span class="vl small">p b c</span>
  <span class="vl big">p e</span>
</div>
<div class="container vl_rtl">
  <span class="vr small">p b c</span>
  <span class="vr big">p e</span>
  <span class="vl_rtl small">p b c</span>
  <span class="vl_rtl big">p e</span>
  <span class="vr_rtl small">p b c</span>
  <span class="vr_rtl big">p e</span>
</div>
<div class="container vr_rtl">
  <span class="hl small">p b c</span>
  <span class="hl big">p e</span>
  <span class="hr small">p b c</span>
  <span class="hr big">p e</span>
  <span class="vl small">p b c</span>
  <span class="vl big">p e</span>
</div>
<div class="container vr_rtl">
  <span class="vr small">p b c</span>
  <span class="vr big">p e</span>
  <span class="vl_rtl small">p b c</span>
  <span class="vl_rtl big">p e</span>
  <span class="vr_rtl small">p b c</span>
  <span class="vr_rtl big">p e</span>
</div>



</body>
<!-- Mirrored from test.csswg.org/suites/css-flexbox-1_dev/nightly-unstable/html/flexbox-writing-mode-012.htm by HTTrack Website Copier/3.x [XR&CO'2014], Sat, 23 Dec 2023 16:15:11 GMT -->
</html>